import server from './request'

export const getUrl = (url, params) => {
  return server.get(url, {
    params
  })
}

export const postUrl = (url, data) => {
  return server.post(url, data)
}

export const deleteUrl = (url, params) => {
  return server.delete(url, {
    params
  })
}

export const putUrl = (url, data) => {
  return server.put(url, data)
}
